package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class Info {
    private String id;
    private String name;
    private String health;
    private String date;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHealth() {
        return health;
    }

    public void setHealth(String health) {
        this.health = health;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Info{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", health='" + health + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
